package model

import (
	"go.mongodb.org/mongo-driver/bson/primitive"
)

type DippingSystemNote struct { //浸渍系统运行记录
	Id   primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Case [6]struct {
		Id                primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
		Norms             string             `bson:"norms" form:"norms" json:"norms"`
		Amount            int                `bson:"amount" json:"amount" form:"amount"`
		Type              string             `bson:"type" json:"type" form:"type"`
		Desc              string             `bson:"desc" json:"desc" form:"desc"`
		Weight_Before     float32            `bson:"weight_before" json:"weight_before" form:"weight_before"`
		Weight_after      float32            `bson:"weight_after" json:"weight_after" form:"weight_after"`
		WGR               float32            `bson:"WGR" form:"WGR" json:"WGR"`
		OutLetTemperature float32            `json:"outletTemperature" bson:"outletTemperature" form:"outletTemperature"`
		InLetTemperature  float32            `json:"inletTemperature" bson:"inletTemperature" form:"inletTemperature"`
	} `json:"case" bson:"case,omitempty" form:"case"`
	Batch_Number        string  `bson:"batch_number,omitempty" json:"batch_number,omitempty" form:"batch_number"`
	Framing_Time        string  `bson:"framing_time" form:"framing_time" json:"framing_time"`
	Framing_Person      string  `bson:"framing_person" form:"framing_person" json:"framing_person"`
	In_charge_Time      string  `bson:"in_charge_time" form:"in_charge_time" json:"in_charge_time"`
	In_charge_Person    string  `bson:"in_charge_person" form:"in_charge_person" json:"in_charge_person"`
	In_Pot              string  `bson:"in_pot" form:"in_pot" json:"in_pot"`
	In_Pot_Person       string  `bson:"in_pot_person" form:"in_pot_person" json:"in_pot_person"`
	Weigh               string  `bson:"weigh" json:"weigh" form:"weigh"`
	WeighPerson         string  `json:"weighPerson" bson:"weighPerson" form:"weighPerson"`
	Steep_Before_Level  float32 `bson:"steep_before_level" json:"steep_before_level" form:"steep_before_level"`
	Steep_After_Level   float32 `bson:"steep_after_level" json:"steep_after_level" form:"steep_after_level"`
	Reuse_Level         float32 `bson:"reuse_level" json:"reuse_level" form:"reuse_level"`
	Total_Weight_Before float32 `bson:"total_weight_before" json:"total_weight_before" form:"total_weight_before"`
	Total_Weight_After  float32 `bson:"total_weight_after" json:"total_weight_after" form:"total_weight_after"`
	Average_Increase    float32 `bson:"average_increase" json:"average_increase" form:"average_increase"`
	Pot_Number          int     `bson:"pot_number" json:"pot_number" form:"pot_number"`
	Out_Charge          string  `bson:"out_charge" form:"out_charge" json:"out_charge"`
	//	In_Pot_Time string `bson:"in_pot_time"`
	N                    string `bson:"N" form:"N" json:"N"`
	Vacuum_Pumping       string `bson:"vacuum_pumping" form:"vacuum_pumping" json:"vacuum_pumping"`
	Vacuum               string `bson:"vacuum" form:"vacuum" json:"vacuum"`
	Oiling               string `bson:"oiling" form:"oiling" json:"oiling"`
	Fluid_Level          string `bson:"fluid_level" form:"fluid_level" json:"fluid_level"`
	Compression          string `bson:"compression" form:"compression" json:"compression"`
	Pressure_Maintaining string `bson:"pressure_maintaining" form:"pressure_maintaining" json:"pressure_maintaining"`
	Pressure_Relief      string `bson:"pressure_relief" form:"pressure_relief" json:"pressure_relief"`
	Reverse_Oil          string `bson:"reverse_oil" form:"reverse_oil" json:"reverse_oil"`
	Reverse_Oil_Clean    string `bson:"reverse_oil_clean" form:"reverse_oil_clean" json:"reverse_oil_clean"`
	Second_Reverse_Oil   string `json:"second_reverse_oil" bson:"second_reverse_oil" form:"second_reverse_oil"`
	BlowBack             string `bson:"blowback" form:"blowback" json:"blowback"`
	Water_Flood          string `bson:"water_flood" form:"water_flood" json:"water_flood"`
	Water_Cycle          string `bson:"water_cycle" form:"water_cycle" json:"water_cycle"`
	Drainage             string `bson:"drainage" form:"drainage" json:"drainage"`
	End_Drainage         string `bson:"end_drainage" form:"end_drainage" json:"end_drainage"`
	Spread               string `bson:"spread" form:"spread" json:"spread"`
	N_Unload             string `bson:"N_unload" form:"N_unload" json:"N_unload"`
	Out_Pot_Time         string `bson:"out_pot_time" form:"out_pot_time" json:"out_pot_time"`
	Creator              string `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt            string `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe             string `bson:"describe" json:"describe" form:"describe"`    //描述
}
type DippingSystemNote2 struct { //修改用
	Id                  primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Batch_Number        string             `bson:"batch_number,omitempty" json:"batch_number,omitempty" form:"batch_number"`
	Framing_Time        string             `bson:"framing_time,omitempty" form:"framing_time" json:"framing_time,omitempty"`
	Framing_Person      string             `bson:"framing_person,omitempty" form:"framing_person" json:"framing_person,omitempty"`
	In_charge_Time      string             `bson:"in_charge_time,omitempty" form:"in_charge_time" json:"in_charge_time,omitempty"`
	In_charge_Person    string             `bson:"in_charge_person,omitempty" form:"in_charge_person" json:"in_charge_person"`
	In_Pot              string             `bson:"in_pot,omitempty" form:"in_pot" json:"in_pot"`
	In_Pot_Person       string             `bson:"on_pot_person,omitempty" form:"on_pot_person" json:"in_pot_person"`
	Weigh               string             `bson:"weigh,omitempty" json:"weigh" form:"weigh"`
	WeighPerson         string             `json:"weighPerson,omitempty" bson:"weighPerson" form:"weighPerson"`
	Steep_Before_Level  float32            `bson:"steep_before_level,omitempty" json:"steep_before_level" form:"steep_before_level"`
	Steep_After_Level   float32            `bson:"steep_after_level,omitempty" json:"steep_after_level" form:"steep_after_level"`
	Reuse_Level         float32            `bson:"reuse_level,omitempty" json:"reuse_level" form:"reuse_level"`
	Total_Weight_Before float32            `bson:"total_weight_before,omitempty" json:"total_weight_before" form:"total_weight_before"`
	Total_Weight_After  float32            `bson:"total_weight_after,omitempty" json:"total_weight_after" form:"total_weight_after"`
	Average_Increase    float32            `bson:"average_increase,omitempty" json:"average_increase" form:"average_increase"`
	Pot_Number          int                `bson:"pot_number,omitempty" json:"pot_number" form:"pot_number"`
	Out_Charge          string             `bson:"out_charge,omitempty" form:"out_charge" json:"out_charge"`
	//	In_Pot_Time string `bson:"in_pot_time"`
	N                    string `bson:"N,omitempty" form:"N" json:"N"`
	Vacuum_Pumping       string `bson:"vacuum_pumping,omitempty" form:"vacuum_pumping" json:"vacuum_pumping"`
	Vacuum               string `bson:"vacuum,omitempty" form:"vacuum" json:"vacuum"`
	Oiling               string `bson:"oiling,omitempty" form:"oiling" json:"oiling"`
	Fluid_Level          string `bson:"fluid_level,omitempty" form:"fluid_level" json:"fluid_level"`
	Compression          string `bson:"compression,omitempty" form:"compression" json:"compression"`
	Pressure_Maintaining string `bson:"pressure_maintaining,omitempty" form:"pressure_maintaining" json:"pressure_maintaining"`
	Pressure_Relief      string `bson:"pressure_relief,omitempty" form:"pressure_relief" json:"pressure_relief"`
	Reverse_Oil          string `bson:"reverse_oil,omitempty" form:"reverse_oil" json:"reverse_oil"`
	Reverse_Oil_Clean    string `bson:"reverse_oil_clean,omitempty" form:"reverse_oil_clean" json:"reverse_oil_clean"`
	Second_Reverse_Oil   string `json:"second_reverse_oil,omitempty" bson:"second_reverse_oil" form:"second_reverse_oil"`
	BlowBack             string `bson:"blowback,omitempty" form:"blowback" json:"blowback"`
	Water_Flood          string `bson:"water_flood,omitempty" form:"water_flood" json:"water_flood"`
	Water_Cycle          string `bson:"water_cycle,omitempty" form:"water_cycle" json:"water_cycle"`
	Drainage             string `bson:"drainage,omitempty" form:"drainage" json:"drainage"`
	End_Drainage         string `bson:"end_drainage,omitempty" form:"end_drainage" json:"end_drainage"`
	Spread               string `bson:"spread,omitempty" form:"spread" json:"spread"`
	N_Unload             string `bson:"N_unload,omitempty" form:"N_unload" json:"N_unload"`
	Out_Pot_Time         string `bson:"out_pot_time,omitempty" form:"out_pot_time" json:"out_pot_time"`
	Creator              string `bson:"creator,omitempty" json:"creator" form:"creator"`       //创建者
	CreatedAt            string `bson:"createdAt,omitempty" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe             string `bson:"describe,omitempty" json:"describe" form:"describe"`    //描述
}
